// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibizappeditor', 'ibizappeditorname', 'ibizappeditortype', 'documentaddress', 'rditordescription', 'ibizappeditorid', 'srfkey', 'srfdataaccaction', 'srfmajortext', ...wfKey];
    }

    get ibizappeditorname() {
        return this.$DO.ibizappeditorname;
    }

    set ibizappeditorname(value: any) {
        this.$DO.ibizappeditorname = value;
    }
    get ibizappeditortype() {
        return this.$DO.ibizappeditortype;
    }

    set ibizappeditortype(value: any) {
        this.$DO.ibizappeditortype = value;
    }
    get documentaddress() {
        return this.$DO.documentaddress;
    }

    set documentaddress(value: any) {
        this.$DO.documentaddress = value;
    }
    get rditordescription() {
        return this.$DO.rditordescription;
    }

    set rditordescription(value: any) {
        this.$DO.rditordescription = value;
    }
    get ibizappeditorid() {
        return this.$DO.ibizappeditorid;
    }

    set ibizappeditorid(value: any) {
        this.$DO.ibizappeditorid = value;
    }
    get srfkey() {
        return this.$DO.ibizappeditorid;
    }

    set srfkey(value: any) {
        this.$DO.ibizappeditorid = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibizappeditorid;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibizappeditorid = value;
    }
    get srfmajortext() {
        return this.$DO.ibizappeditorname;
    }

    set srfmajortext(value: any) {
        this.$DO.ibizappeditorname = value;
    }

    set ibizappeditor(value: any) {
        this.$DO.ibizappeditorid = value;
    }
    get ibizappeditor() {
        return this.$DO.ibizappeditorid;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]